package com.ruoyi.business.domain.bo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 宿舍业务对象 dormitory
 *
 * @author ruoyi
 * @date 2023-06-25
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class DormitoryBo extends BaseEntity {
    private Long id;
    /**
     * 宿舍编号
     */
    @NotBlank(message = "宿舍编号不能为空", groups = { EditGroup.class })
    private String dormitoryId;

    /**
     * 楼栋号
     */

    private Long buildingNumber;

    /**
     * 楼栋名称
     */
    @NotNull(message = "楼栋名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String buildingName;

    /**
     * 容纳人数
     */
    @NotNull(message = "容纳人数不能为空", groups = { AddGroup.class, EditGroup.class })
    private Integer capacity;
    /**
     * 当前人数
     */
    private Integer currentCapacity;
    /**
     * 管理员id
     */
    private Long adminId;
    /**
     * 楼层
     */
    private Integer floor;
    /**
     * 性别
     */
    private String gender;
    /**
     * 是否外包
     */
    private String outsource;
    /**
     * 宿舍性质
     */
    private String nature;
    /**
     * 缴费日期
     */
    private String feeDate;
    /**
     * 缴费金额
     */
    private String feeAmount;
    /**
     * 空调费
     */
    private String airConditioningFee;
    /**
     * 级别
     */
    private String level;
    /**
     * 房租
     */
    private String rent;
    /**
     * 标签
     */
    private String mark;
    /**
     * 备注
     */
    private String remark;

    /**
     * 员工姓名
     */
    @TableField(exist = false)
    private String employeename;
    /**
     * 部门名称
     */
    @TableField(exist = false)
    private String department;
    /**
     * 是否满员 容量
     */
    @TableField(exist = false)
    private String boolmanyuan;
}
